Online documentation - WebsydianExpress v3.5 |
APIServer.AuthorizedEvents.RemoveRole
Field | Variable | ...as | Description |
---|---|---|---|
AuthorizedEventSurrogate | Input | Input | Uniquely identifies the authorized event you want to remove the
role from.
Mandatory. |
RoleSurrogate | Input | Input | Uniquely identifies the role you want to remove.
Mandatory |
This API removes the role from the specified authorized event.
This means that the role no longer authorizes the specified event.
If you do not have the unique identifications, you can obtain the AuthorizedEventSurrogate by calling AuthorizedEvent.GetEventBySiteName and the RoleSurrogate by calling Role.GetByName.
WSE0100 - Role not found
WSE0256 - Authorized event not found